/* 基础样式重置：清除默认内外边距，统一盒模型和字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* 模块容器：控制整体尺寸、边框和布局 */
.store-module {
    width: 420px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 50px auto;
    border-radius: 8px;
}

/* 标题区：控制标题样式和布局 */
.title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 箭头交互：默认空心红箭头，悬停红色背景白箭头 */
.arrow {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 空心红箭头实现 */
.arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #e13737;
    border-right: 2px solid #e13737;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.3s ease;
}

/* 悬停时红色背景+白色箭头 */
.arrow:hover {
    background-color: #e13737;
    border-radius: 50%;
}

.arrow:hover::before {
    border-top-color: white;
    border-right-color: white;
}

/* 店铺项通用样式：控制布局和内边距 */
.store-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 16px;
    gap: 15px;
}

/* 店铺项背景色：粉色与蓝色主题 */
.store-item--pink {
    background-color: #fff5f5; /* 浅粉色背景 */
}

.store-item--blue {
    background-color: #f0f7ff; /* 浅蓝色背景 */
}

/* 店铺信息区：控制文字布局和占比 */
.store-info {
    flex: 1;
}

.store-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.self-operated {
    display: inline-block;
    background-color: #e13737;
    color: white;
    padding: 1px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.follow-num {
    font-size: 13px;
    color: #999;
}

/* 商品图片容器（含品牌标签）：控制图片尺寸和定位 */
.store-img-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* 商品图片旁品牌标识：绝对定位样式 */
.brand-tag {
    position: absolute;
    right: -8px;
    top: -8px;
    background-color: #e13737;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}